package com.eairlv.utils.access;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author eairlv
 * @description
 * @date 14:04 2019/4/28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", hidden = true)
    private Long id;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号", hidden = true)
    private String userName;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名", hidden = true)
    private String realName;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", hidden = true)
    private String email;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码", hidden = true)
    private String telephone;

    /**
     * 用户类型
     */
    @ApiModelProperty(value = "用户类型", hidden = true)
    private Integer userType;

    /**
     * 机构ID
     */
    @ApiModelProperty(value = "机构ID", hidden = true)
    private Long orgId;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", hidden = true)
    private String roleId;

    /**
     * 扩展内容
     */
    @ApiModelProperty(value = "扩展内容", hidden = true)
    private String extend;

    /**
     * 访问时间
     */
    @ApiModelProperty(value = "访问时间", hidden = true)
    private Long time;
}
